package org.framework.edge.builder.domain.model.docker.builder;

import org.wu.framework.web.response.Result;
import org.wu.framework.web.response.ResultFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.framework.edge.builder.domain.model.docker.builder.DockerBuilder;
import java.util.List;
import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage;
/**
 * describe docker 打包 
 *
 * @author Jia wei Wu
 * @date 2025/07/08 06:06 晚上
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomainRepository 
 **/

public interface DockerBuilderRepository {


    /**
     * describe 新增docker 打包
     *
     * @param dockerBuilder 新增docker 打包     
     * @return {@link  Result<DockerBuilder>} docker 打包新增后领域对象     
     
     * @author Jia wei Wu
     * @date 2025/07/08 06:06 晚上
     **/

    Result<DockerBuilder> story(DockerBuilder dockerBuilder);

    /**
     * describe 批量新增docker 打包
     *
     * @param dockerBuilderList 批量新增docker 打包     
     * @return {@link Result<List<DockerBuilder>>} docker 打包新增后领域对象集合     
     
     * @author Jia wei Wu
     * @date 2025/07/08 06:06 晚上
     **/

    Result<List<DockerBuilder>> batchStory(List<DockerBuilder> dockerBuilderList);

    /**
     * describe 查询单个docker 打包
     *
     * @param dockerBuilder 查询单个docker 打包     
     * @return {@link Result<DockerBuilder>} docker 打包DTO对象     
     
     * @author Jia wei Wu
     * @date 2025/07/08 06:06 晚上
     **/

    Result<DockerBuilder> findOne(DockerBuilder dockerBuilder);

    /**
     * describe 查询多个docker 打包
     *
     * @param dockerBuilder 查询多个docker 打包     
     * @return {@link Result<List<DockerBuilder>>} docker 打包DTO对象     
     
     * @author Jia wei Wu
     * @date 2025/07/08 06:06 晚上
     **/

    Result<List<DockerBuilder>> findList(DockerBuilder dockerBuilder);

    /**
     * describe 分页查询多个docker 打包
     *
     * @param size 当前页数
     * @param current 当前页
     * @param dockerBuilder 分页查询多个docker 打包     
     * @return {@link Result<LazyPage<DockerBuilder>>} 分页docker 打包领域对象     
     
     * @author Jia wei Wu
     * @date 2025/07/08 06:06 晚上
     **/

    Result<LazyPage<DockerBuilder>> findPage(int size,int current,DockerBuilder dockerBuilder);

    /**
     * describe 删除docker 打包
     *
     * @param dockerBuilder 删除docker 打包     
     * @return {@link Result<DockerBuilder>} docker 打包     
     
     * @author Jia wei Wu
     * @date 2025/07/08 06:06 晚上
     **/

    Result<DockerBuilder> remove(DockerBuilder dockerBuilder);

    /**
     * describe 是否存在docker 打包
     *
     * @param dockerBuilder 是否存在docker 打包     
     * @return {@link Result<Boolean>} docker 打包是否存在     
     
     * @author Jia wei Wu
     * @date 2025/07/08 06:06 晚上
     **/

    Result<Boolean> exists(DockerBuilder dockerBuilder);

}